public class test522_3 {
    public static void main(String[] args) {
        String[][] emplouees = {
                {"1","01","程 利"},
                {"2","02","王峥懿"},
                {"3","03","李炎坤"},
                {"4","04","邵 博"},
                {"5","05","马阳阳"},
                {"6","06","彭登朝"},
                {"7","07","魏家乐"},
                {"8","08","李炳霖"}
        };
        System.out.println("第一社区\n干部\t\t序号\t名字");
        for (int i = 0; i < emplouees.length; i++) {
            switch (emplouees[i][0]) {
                case "1":
                    System.out.print("学生助理\t");
                    break;
                case "2":
                    System.out.print("社区长\t");
                    break;
                case "3":
                    System.out.print("学习委员\t");
                    break;
                case "4":
                    System.out.print("生活委员\t");
                    break;
                case "5":
                    System.out.print("宣传委员\t");
                    break;
                case "6":
                    System.out.print("组织委员\t");
                    break;
                case "7":
                    System.out.print("心理委员\t");
                    break;
                case "8":
                    System.out.print("团支书\t");
                    break;
            }
                for (int j = 1; j < emplouees[i].length; j++) {
                    System.out.print(emplouees[i][j] + "\t");
                }
                System.out.println();
            }
        }
    }
